package com.stoken.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stoken.dao.AchievementListDao;
import com.stoken.domain.AchievementList;
import com.stoken.service.AchievementListService;
import com.symbio.commons.Page;
import com.symbio.dao.hibernate.GenericDaoImpl;
import com.symbio.service.impl.AbstractServiceImpl;

@Service
public class AchievementListServiceImpl extends AbstractServiceImpl<AchievementList, Long> implements AchievementListService  {

	@Autowired
	private AchievementListDao achievementListDao;
	
	@Override
	public GenericDaoImpl<AchievementList, Long> getDao() {		
		return achievementListDao;
	}

	@Override
	public Page<AchievementList> find(Page<AchievementList> pageData,String baseUserName) {		
		return achievementListDao.find(pageData,baseUserName);
	}

}
